package bean;

import data.bean.DataBean;
import data.bean.DatabaseEntity;
import data.bean.DatabaseField;

@DatabaseEntity(tableName="Composition")
public class Composition extends DataBean {

	static {
		REGISTER(Composition.class);
	}

	@DatabaseField(name="productprofileid", type=Long.class, primaryKey=true)
	private Long productprofileid;
	
	@DatabaseField(name="componentid", type=Long.class, primaryKey=true)
	private Long componentid;

	@DatabaseField(name="amount", type=Long.class)
	private Long amount;

	public Long getProductprofileid() {
		return productprofileid;
	}

	public void setProductprofileid(Long productprofileid) {
		this.productprofileid = productprofileid;
	}

	public Long getComponentid() {
		return componentid;
	}

	public void setComponentid(Long componentid) {
		this.componentid = componentid;
	}

	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}
}
